import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import login from '@/components/login'
import registe from '@/components/registe'
import quanzi from '@/components/quanzi'
import fabu from '@/components/fabu'
import me from '@/components/me'
import me_data from '@/components/me_data'
import edit_data from '@/components/edit_data'
import detail from '@/components/detail'
import fabuVideo from '@/components/fabuVideo'
import hanfu from '@/components/hanfu'
import jk from '@/components/jk'
import shouban from '@/components/shouban'

import err from '@/components/404'
Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'index',
    //   component: index
    // },
    {
      path: '/',
      name: 'index',
      component: index
    },{
      path: '/login',
      name: 'login',
      component: login
    },{
      path: '/registe',
      name: 'registe',
      component: registe
    }
    ,{
      path: '/quanzi',
      name: 'quanzi',
      component: quanzi
    },
    {
      path:'/fabu',
      name: 'fabu',
      component:fabu
    }
    ,{
      path: '/err',
      name: 'err',
      component: err
    },{
      path:'/me',
      name: 'me',
      component:me
    },
    {
      path:'/me_data',
      name: 'me_data',
      component:me_data
    },
    {
      path:'/edit_data',
      name: 'edit_data',
      component:edit_data
    },
    {
      path:'/detail',
      name: 'detail',
      component:detail
    },
    {
      path:'/fabuVideo',
      name: 'fabuVideo',
      component:fabuVideo
    },
    {
      path:'/hanfu',
      name: 'hanfu',
      component:hanfu
    },
    {
      path:'/shouban',
      name: 'shouban',
      component:shouban
    },
    {
      path:'/jk',
      name: 'jk',
      component:jk
    }
  ]
})
